/*
 * @Description: file content
 * @Author: RongWei
 * @Date: 2020-11-11 20:34:32
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-06-25 11:59:44
 */
const fse = require('fs-extra')
const path = require('path');
const bsConfig = require('./tool.config');
let developDir = bsConfig.developDir;
const currentCwd = process.cwd();
const rootCwd = path.resolve(currentCwd);
const devPath = developDir || '/Users/sunshiwen/Desktop/Maycur/maycur-form-web/node_modules/maycur-business/';
fse.copy(`${rootCwd}/bin/`, devPath).then(() => {
    console.log(`${devPath} 目录下的文件已经同步!`);
}, (e) => { console.log(e) });